#@layout()

#define content()
<div class="content-wrapper">

    <section class="content-header">
        <h1>
            留言分类管理
            <small>Post Class Management</small>
        </h1>
    </section>

    <section class="content">

        <div class="row">
            <div class="col-xs-12">
                <div class="box box-primary">
                    <div class="box-header ">
                        <h3 class="box-title"></h3>
                    </div>
                    <!-- /.box-header -->
                    <!-- form start -->
                    <form class="form-horizontal autoAjaxSubmit" autocomplete="off"
                          method="post"
                          data-ok-href="#(CPATH)/admin/addon/whimurmur/messageEx/index"
                          action="#(CPATH)/admin/addon/whimurmur/messageEx/postClassSave">
                        <div class="box-body ">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">分类名称</label>
                                <div class="col-sm-6">
                                    <input type="text" class="form-control" placeholder="分类名称"
                                           name="wMPostClass.postClassName" value="#(postClass.postClassName ??)">
                                    <!-- <p class="help-block"> 登录名不支持修改 </p> -->

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">创建时间</label>
                                <div class="col-sm-6">
                                    <input type="text" class="form-control" disabled
                                           name="wMPostClass.created" value="#if(postClass.created ??) #date(postClass.created) #end">
                                </div>
                            </div>
                            
                            <input type="hidden" value="#(postClass.id ??)" name="wMPostClass.id">

                        </div>
                        <!-- /.box-body -->
                        <div class="box-footer">
                            <div class="col-sm-offset-2 col-sm-10 submit-block">
                                <div class="box-submit">
                                    <button type="submit" class="btn btn-primary">提交</button>
                                </div>
                            </div>
                        </div>
                        <!-- /.box-footer -->
                    </form>
                </div>
            </div>
        </div>

    </section>


</div>
#end
